package top.huhuiyu.springboot.study.mapper.joke;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import top.huhuiyu.springboot.study.entity.joke.TbNewsApiInfo;

/**
 * @author 胡辉煜
 */
@Mapper
public interface TbNewsApiInfoMapper {

  @Insert("insert into tb_news_api_info(type_name,title,source,digest,post_time,content,news_id) values(#{typeName},#{title},#{source},#{digest},#{postTime},#{content},#{newsId})")
  int insert(TbNewsApiInfo tbNewsApiInfo);
}
